package edu.gdkm.spring;

public class DogDao {
    private static DogDao instance = new DogDao();
    private DogDao(){

    }
    public static DogDao getInstance(){
        return instance;
    }

    public void changeName(Dog dog,String name){
        dog.setName(name);
    }
}
